package com.base.service.CZB.Impl;

import com.base.mapper.czbmapper.GasUserTypeMapper;
import com.base.po.czb.GasUserType;
import com.base.po.czb.GasUserTypeExample;
import com.base.service.CZB.GasUserTypeService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service("GasUserTypeService")
public class GasUserTypeServiceImpl implements GasUserTypeService {
    @Autowired
    GasUserTypeMapper gasUserTypeMapper;

    @Override
    public int countByExample(GasUserTypeExample example) {
        return gasUserTypeMapper.countByExample(example);
    }

    @Override
    public int deleteByExample(GasUserTypeExample example) {
        return gasUserTypeMapper.deleteByExample(example);
    }

    @Override
    public int deleteByPrimaryKey(Integer id) {
        return gasUserTypeMapper.deleteByPrimaryKey(id);
    }

    @Override
    public int insert(GasUserType record) {
        return gasUserTypeMapper.insert(record);
    }

    @Override
    public int insertSelective(GasUserType record) {
        return gasUserTypeMapper.insertSelective(record);
    }

    @Override
    public List<GasUserType> selectByExample(GasUserTypeExample example) {
        return gasUserTypeMapper.selectByExample(example);
    }

    @Override
    public GasUserType selectByPrimaryKey(Integer id) {
        return gasUserTypeMapper.selectByPrimaryKey(id);
    }

    @Override
    public int updateByExampleSelective(GasUserType record, GasUserTypeExample example) {
        return gasUserTypeMapper.updateByExampleSelective(record,example);
    }

    @Override
    public int updateByExample(GasUserType record, GasUserTypeExample example) {
        return gasUserTypeMapper.updateByExample(record,example);
    }

    @Override
    public int updateByPrimaryKeySelective(GasUserType record) {
        return gasUserTypeMapper.updateByPrimaryKeySelective(record);
    }

    @Override
    public int updateByPrimaryKey(GasUserType record) {
        return gasUserTypeMapper.updateByPrimaryKey(record);
    }
}
